export class Chart {
  constructor(width, height, flag, observer, dom) {
    this._width = width
    this._height = height
    this._flag = flag
    this._observer = observer
    this._dom = dom
  }

  /**
   * @param {any} width
   */
  set width(width) {
    this._width = width
  }

  get width() {
    return this._width
  }

  /**
   * @param {any} height
   */
  set height(height) {
    this._height = height
  }

  get height() {
    return this._height
  }
  /**
   * @param {any} flag
   */
  set flag(flag) {
    this._flag = flag
  }

  get flag() {
    return this._flag
  }
  /**
   * @param {any} observer
   */
  set observer(observer) {
    this._observer = observer
  }

  get observer() {
    return this._observer
  }
  /**
   * @param {Element} dom
   */
  set dom(dom) {
    this._dom = dom
  }

  get dom() {
    return this._dom
  }
}
